package com.hl.card.credit.pub.entity;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 订单操作日志
 * 
 * @author wdf
 * 
 */
public class PublicOrderLog {

	/**
	 * 主键
	 */
	private Integer order_log_id;

	/**
	 * 关联订单号
	 */
	private String order_code;

	/**
	 * 业务类型
	 */
	private String business_type;

	/**
	 * 序列号
	 */
	private String serial_number;

	/**
	 * 操作时间
	 */
	private Date operation_time;

	/**
	 * 操作人
	 */
	private String operation_user;

	/**
	 * 操作类型（0查询、1修改、2添加、3删除）
	 */
	private Integer operation_type;

	/**
	 * 操作内容
	 */
	private String operation_content;

	/**
	 * 备注
	 */
	private String remark;

	public PublicOrderLog() {
	}

	/**
	 * 
	 * @param order_code 关联订单号
	 * @param business_type 业务类型
	 * @param serial_number 序列号
	 * @param operation_user 操作人
	 * @param operation_type 操作类型（0查询、1修改、2添加、3删除）
	 * @param operation_content 操作内容
	 */
	public PublicOrderLog(String order_code, String business_type, String serial_number, String operation_user,
			Integer operation_type, String operation_content) {
		super();
		this.order_code = order_code;
		this.business_type = business_type;
		this.serial_number = serial_number;
		this.operation_time = new Date();
		this.operation_user = operation_user;
		this.operation_type = operation_type;
		this.operation_content = operation_content;
	}
	

	public void setOrder_log_id(Integer order_log_id) {
		this.order_log_id = order_log_id;
	}

	public Integer getOrder_log_id() {
		return this.order_log_id;
	}

	public void setOrder_code(String order_code) {
		this.order_code = order_code;
	}

	public String getOrder_code() {
		return this.order_code;
	}

	public void setBusiness_type(String business_type) {
		this.business_type = business_type;
	}

	public String getBusiness_type() {
		return this.business_type;
	}

	public void setSerial_number(String serial_number) {
		this.serial_number = serial_number;
	}

	public String getSerial_number() {
		return this.serial_number;
	}

	public void setOperation_time(Date operation_time) {
		this.operation_time = operation_time;
	}

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	public Date getOperation_time() {
		return this.operation_time;
	}

	public void setOperation_user(String operation_user) {
		this.operation_user = operation_user;
	}

	public String getOperation_user() {
		return this.operation_user;
	}

	public void setOperation_type(Integer operation_type) {
		this.operation_type = operation_type;
	}

	public Integer getOperation_type() {
		return this.operation_type;
	}

	public void setOperation_content(String operation_content) {
		this.operation_content = operation_content;
	}

	public String getOperation_content() {
		return this.operation_content;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRemark() {
		return this.remark;
	}

}
